package ar.fiuba.tecnicas.rockpaperscissors;

public class Fire implements Move 
{
	public Move compare(Rock r)
	{
		return r;
	}
	
	public Move compare(Scissors s)
	{
		return this;
	}
	
	public Move compare(Paper p)
	{
		return this;
	}
	
	public Move compare(Fire f)
	{
		return this;
	}
	
	public Move vs(Move move)
	{
		return move.compare(this);
	}
	
	public boolean equals(Object toBeCompared)
	{
		return toBeCompared instanceof Fire;
	}
}